#include "config.h"
#include "scheduler.h"
#include "MemoryApi.h"


#include <iostream>

int main(int argc, char *argv[])
{
#ifdef UNIT_TEST

    // force `ld` link `LIB_TEST`
    Scheduler* scheduler_ptr = new FCFSScheduler(64);
    MemoryApi::initial_memory(4096,64);
    testing::InitGoogleTest();
    return RUN_ALL_TESTS();

#else

    std::cout << "Fake-OS" << std::endl
              << "Version " << VERSION << std::endl;

    // TODO: kernel init

    // TODO: Run shell

    return 0;

#endif
}

#ifdef UNIT_TEST

TEST(NAIVE_TEST, PLUS)
{
    ASSERT_EQ(1 + 2, 3);
}

#endif